package com.myioc.entity;

public class StudentEntity {
	
	
	private Integer age;
	private String name;

//	@ScottResource
	private TeacherEntity teacher;
	

	public void setTeacher(TeacherEntity teacher) {
		this.teacher = teacher;
	}

	public void setAge(int age) {
		this.age = age;
	}


	public void setName(String name) {
		this.name = name;
	}

	public void setAge(Integer age) {
		this.age = age;
	}


	public int add(int i, int j) {
		return i+j;
	}


	@Override
	public String toString() {
		return "StudentEntity [age=" + age + ", name=" + name + "]";
	}
	



	

	
	
	
	
	
	

}
